#define _CRT_SECURE_NO_WARNINGS
#include <initializer_list>
#include <iostream>
// #include <string>
// #include <fstream>
// #include <list>
#include <cmath>
using namespace std;

int main()
{
    int m;
    constexpr double v_inf = 0.5071016E+03;
    constexpr double L = 0.2;
    double alpha, Ma = 2.0, gamma = 1.4, kappa,  fm;
    alpha = 0.1, kappa = 0.6;
    // Ma = 0.85;
    for(int m = 1; m < 13; m++){
        fm = v_inf/L*(m-alpha)/(Ma/sqrt(1.0+0.5*(gamma-1.0)*Ma*Ma) + 1.0/kappa);
        cout << m << "\t\t" <<fm <<"\n";
    }
    // list<int> num {1, 2, 3, 4, 5, 1, 2, 3, 4, 5};
    // num.sort();
    // for(auto &e : num)
    //     cout << e << endl;
    // string str = "hello", str2;
    // unsigned t = 9;
    // str2 = str +  to_string(t);
    // cout << str << endl;

    // string s1 = "t1.txt", s2 = "t2.txt";
    // ofstream f1(s1), f2(s2);
    // f1 << str2;
    // f2 << str << t;
    // f1.close();
    // f2.close();
    // 默认以ASSII表示，都一样

    unsigned x = 1;
    cout << ( static_cast<int>(x)>-1) << "\n";
    initializer_list<int> ls{1,2,3};
    const int* p = ls.begin();
    size_t s = ls.size();
    for(int i = 0; i < s; ++i)
    {
        cout << p[i] << "\n";
    }
    return 0;
}